﻿@Using Html.BeginForm(Request.RequestContext.RouteData.GetRequiredString("action"), Request.RequestContext.RouteData.GetRequiredString("controller"), New With {.returnUrl = Request.QueryString("returnUrl")}, FormMethod.Post, New With {.enctype = "multipart/form-data"})
    @Html.AntiForgeryToken
    @Html.ValidationSummary(true)

    @<fieldset>
        <legend>Общее</legend>
        @Html.EditorForModel()
    </fieldset>

    @<div class="btn-toolbar">
        <button class="btn btn-primary" title="Сохранение изменений">Сохранить</button>
        <a class="btn pull-right" href="@Url.Action("index")" title="К списку материалов"><i class="icon-list"></i>&nbsp;Список</a>
    </div>
End Using
